package com.xmz.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("author")
public class Author {

    @TableId(type = IdType.AUTO)
    private Integer authorId; // 作者ID
    private String name; // 作者姓名
    private Integer birthYear; // 出生年份


}

